package com.example.androidproject.novel.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class NovelBean {

    /**
     * status : 0
     * message : 文章获取成功
     * data : [{"id":1,"image":"http://img.faloo.com/Novel/332x470/0/824/000824897.jpg","title":"玄幻：说书说哭圣女，开局荒天帝","classify":"其它","info":"人在书中，觉醒说书人系统，开篇故事讲解荒帝！......宁川穿越到玄幻世界，觉醒了说书人系统，便在一家客栈内，当起了说书先生。只要说书，就能获得......","number":"字数：11万","author":"麻花哥哥"},{"id":2,"image":"http://img.faloo.com/Novel/332x470/0/824/000824009.jpg","title":"开局融合武神躯，天才校花懵了","classify":"其它","info":"曹炎穿越到人人可觉醒魂器，契约恶灵当守护灵的世界。这世界诡异复苏，妖魔横行，人人自危！刚穿越，曹炎就在秘密御灵学院，面临一生只有一次的魂器觉醒。......","number":"字数：10万","author":"太极王也"},{"id":3,"image":"http://img.faloo.com/Novel/332x470/0/806/000806522.jpg","title":"开局我和我自己变身双骑","classify":"轻小说","info":"一觉醒来，发现自己穿越了！还多出来一个系统，最重要的是，自己身旁还多出来一个白毛萝莉分身！一魂双体！双倍的战力，双倍的快乐！丧尸世界:唐霄看着眼......","number":"字数：12万","author":"传说不是我"},{"id":4,"image":"http://img.faloo.com/Novel/332x470/0/824/000824164.jpg","title":"大秦：带错系统的我上书分封制！","classify":"其它","info":"穿越大秦，成为秦王嬴政的第四子，赢牧表示自己很无奈。此时，秦灭六国，天下一统。始皇嬴政为了大秦天下能够传承万万世，想废除分封制，开创一个大一统国......","number":"字数：10万","author":"可乐不想加糖"},{"id":5,"image":"http://img.faloo.com/Novel/332x470/0/824/000824194.jpg","title":"四合院：逍遥人世间","classify":"同人小说","info":"王建成来到四合院，没有想到，自己竟然被分配到了北大荒开荒。不过在离开之前，王建成将四合院弄的鸡飞*跳，就是人不在四合院，也流传着王建成的传说。可......","number":"字数：7万","author":"大桶泡面"},{"id":6,"image":"http://img.faloo.com/Novel/332x470/0/805/000805951.jpg","title":"墨组织处决者","classify":"短篇其他","info":"这是一个神统治着的世界，这里有着许多的不公与法律所惩戒不了的罪恶，墨组织是在这不公与罪恶中诞生的，他们每个人都是弑神者（杀了神并吃掉神的心脏就可......","number":"字数：9万","author":"半死不活之人"},{"id":7,"image":"http://img.faloo.com/Novel/332x470/0/824/000824009.jpg","title":"开局融合武神躯，天才校花懵了","classify":"都市言情","info":"曹炎穿越到人人可觉醒魂器，契约恶灵当守护灵的世界。这世界诡异复苏，妖魔横行，人人自危！刚穿越，曹炎就在秘密御灵学院，面临一生只有一次的魂器觉醒。......","number":"字数：10万","author":"太极王也"},{"id":8,"image":"http://img.faloo.com/Novel/332x470/0/823/000823458.jpg","title":"大秦：发配边疆的我被金榜曝光了","classify":"武侠仙侠","info":"综武世界，诸国鼎立，武侠势力，不知凡几。赢子川穿越成为大秦九皇子，始皇儿子中最纨绔的一位，而后更是被始皇发配边疆。赵高：\u201c陛下，九皇子在边疆整日......","number":"字数：10万","author":"我即是天榜"},{"id":9,"image":"http://img.faloo.com/Novel/332x470/0/799/000799024.jpg","title":"我在魔卡世界的日常生活","classify":"轻小说","info":"李修哲因生活所迫而跳楼自杀，结果穿越到童年记忆，初代萌王的世界，除此之外，还自带一个签到系统。李修哲:\u201c我只想过日常啊！\u201d根本不清楚，库洛・缺德......","number":"字数：14万","author":"休闲的日常"},{"id":10,"image":"http://img.faloo.com/Novel/332x470/0/824/000824897.jpg","title":"玄幻：说书说哭圣女，开局荒天帝","classify":"玄幻奇幻","info":"人在书中，觉醒说书人系统，开篇故事讲解荒帝！......宁川穿越到玄幻世界，觉醒了说书人系统，便在一家客栈内，当起了说书先生。只要说书，就能获得......","number":"字数：11万","author":"麻花哥哥"},{"id":11,"image":"http://img.faloo.com/Novel/332x470/0/814/000814284.jpg","title":"我变成瑶后倾倒众生的岁月","classify":"女生小说","info":"一觉醒来，我竟成了王者游戏里的瑶？初次来到，时间线还有点早，官配全都还没结对，野王美男就全盯着我？我的官配云中君这时在背后默默观察我桃花围绕？黎......","number":"字数：6万","author":"折扇戏君言"},{"id":12,"image":"http://img.faloo.com/novel/images/cover/332x470.jpg","title":"元素使","classify":"青春校园","info":"元素使乃国家之大兴，守护祖国平安。主人公童益文为了偶然间的穿越过来，却只在眨眼之间，周围的一切什么元素之力，魔兽妖兽，各大家族，黑暗组织什么什么......","number":"字数：36万","author":"恒通"},{"id":13,"image":"http://img.faloo.com/Novel/332x470/0/824/000824164.jpg","title":"大秦：带错系统的我上书分封制！","classify":"军事历史","info":"穿越大秦，成为秦王嬴政的第四子，赢牧表示自己很无奈。此时，秦灭六国，天下一统。始皇嬴政为了大秦天下能够传承万万世，想废除分封制，开创一个大一统国......","number":"字数：10万","author":"可乐不想加糖"},{"id":14,"image":"http://img.faloo.com/Novel/332x470/0/824/000824912.jpg","title":"王者：我，对抗路第一生禽","classify":"科幻网游","info":"秦皓，曾被称之为对抗路顶点的男人。却因沉沦于感情，逐渐淡出人们的视野。就在众人高呼对抗路已经没有希望的时候，秦皓在祖师爷的劝解下，化茧成蝶并激活......","number":"字数：7万","author":"直播王者"},{"id":15,"image":"http://img.faloo.com/novel/images/cover/332x470.jpg","title":"四季偏执","classify":"短篇其他","info":"思念如风，怕风声太小未曾听清；思念如疾，怕风声太大吹震耳膜。夏季又带着情绪悄悄落泪，你可能永远都不知道\u2015\u2015在那个我无比熟悉的燥热夏天里我竟迷了路......","number":"字数：4万","author":"珊瑚虫"}]
     * total : 360
     */

    private int status;
    private String message;
    private int total;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Parcelable {
        /**
         * id : 1
         * image : http://img.faloo.com/Novel/332x470/0/824/000824897.jpg
         * title : 玄幻：说书说哭圣女，开局荒天帝
         * classify : 其它
         * info : 人在书中，觉醒说书人系统，开篇故事讲解荒帝！......宁川穿越到玄幻世界，觉醒了说书人系统，便在一家客栈内，当起了说书先生。只要说书，就能获得......
         * number : 字数：11万
         * author : 麻花哥哥
         */

        private int id;
        private String image;
        private String title;
        private String classify;
        private String info;
        private String number;
        private String author;

        protected DataBean(Parcel in) {
            id = in.readInt();
            image = in.readString();
            title = in.readString();
            classify = in.readString();
            info = in.readString();
            number = in.readString();
            author = in.readString();
        }

        public static final Creator<DataBean> CREATOR = new Creator<DataBean>() {
            @Override
            public DataBean createFromParcel(Parcel in) {
                return new DataBean(in);
            }

            @Override
            public DataBean[] newArray(int size) {
                return new DataBean[size];
            }
        };

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getClassify() {
            return classify;
        }

        public void setClassify(String classify) {
            this.classify = classify;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(id);
            dest.writeString(image);
            dest.writeString(title);
            dest.writeString(classify);
            dest.writeString(info);
            dest.writeString(number);
            dest.writeString(author);
        }
    }
}
